package com.yazi.mxz.server.response;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yazi.mxz.common.entity.beans.Address;
import com.yazi.mxz.server.response.mixin.AddressMixIn;




/**
 * 用户收货地址列表响应对象
 * @author mo_yq5
 * @date 2014-5-7
 */
public class AddressResponse extends ComResponse implements DataSuccess<Address> {
	@JsonSerialize(as=AddressMixIn.class)
	private Address successData;
	
	@Override
	public void setSuccessData(Address t) {
		this.successData = t;
	}

	@Override
	public Address getSuccessData() {
		return successData;
	}
	
}
